package chainOfResponsibility;

public class Client {
	public static void main(String[] args) {
		
		//组装责任链
		Handler handler1 = new ConcreteHandler();
		Handler handler2 = new ConcreteHandler();
		handler1.setHandler(handler2);
		
		//提交请求
		handler1.handleRequest();
	}
}
